package com.matt.foundation.query;

import com.dotflat.rest.utils.LikeableField;
import com.matt.commons.page.PagerQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/11/13
 * *******************************
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class StaffQuery extends PagerQuery{
    @LikeableField
    @ApiModelProperty("根据名字查询，模糊搜索")
    private String name;

    @ApiModelProperty("根据角色id查询")
    private String roleId;

    @ApiModelProperty("根据状态查询，离职等")
    private Integer status;
}
